import java.util.List;
public class Test2 {
    public static void main(String[] args) {
        //接口是不可以进行实例化的
        // List<Integer> list = new List<Integer>();

        int[] array = {1,2,3,4,5};

    }
    public static void main3(String[] args) {
        Integer a1 = 100;//涉及到了装包的问题
        Integer a2 = 100;
        System.out.println(a1 == a2);//true

        Integer a3 = 200;
        Integer a4 = 200;
        System.out.println(a3 == a4);// false
    }

    public static void main1(String[] args) {
        int a = 10;
        Integer b = new Integer(10);
        Integer v = 20;
        Integer c = Integer.valueOf(100);
    }

    public static void main4(String[] args) {
        Integer a = 20;
        int b = a;//自动拆箱
        float f = a.floatValue();
        long l = a.longValue();
        System.out.println(b);
        System.out.println(f);
        System.out.println(l);
    }
}